package model;

public class Subject {
	int sjid;
	int mmh;
	String name;

	public Subject(int sjid, int mmh, String name) {
		super();
		this.sjid = sjid;
		this.mmh = mmh;
		this.name = name;
	}

	public int getSjid() {
		return sjid;
	}

	public void setSjid(int sjid) {
		this.sjid = sjid;
	}

	public int getMmh() {
		return mmh;
	}

	public void setMmh(int mmh) {
		this.mmh = mmh;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Subject [sjid=" + sjid + ", mmh=" + mmh + ", name=" + name
				+ "]";
	}

}
